package com.ruoyi.pollution.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 排放口污染物设置对象 BUS_PS_COD_OUTPUTPOLLUTANT
 * 
 * @author maliang
 * @date 2025-09-18
 */
public class BusPsCodOutputpollutant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 污染物编码 */
    private String pollutantcode;

    private String pollutantname;

    /** 排放口编码 */
    private String outportcode;

    /** 污染源编码 */
    private String entcode;

    /** 报警类型（1为区间报警，2为上限报警，3下限报警） */
    @Excel(name = "报警类型", readConverterExp = "1=为区间报警，2为上限报警，3下限报警")
    private Integer warmtype;

    /** 预警上限 */
    @Excel(name = "预警上限")
    private Double prewarnupper;

    /** 预警下限 */
    @Excel(name = "预警下限")
    private Double prewarnlower;

    /** 超标上限 */
    @Excel(name = "超标上限")
    private Double warnupper;

    /** 超标下限 */
    @Excel(name = "超标下限")
    private Double warnlower;

    /** 一级异常上限 */
    @Excel(name = "一级异常上限")
    private Double oneexceptionupper;

    /** 一级异常下限 */
    @Excel(name = "一级异常下限")
    private Double oneexceptionlower;

    /** 一级异常上限 */
    @Excel(name = "一级异常上限")
    private Double twoexceptionupper;

    /** 二级异常下限 */
    @Excel(name = "二级异常下限")
    private Double twoexceptionlower;

    /** 三级异常上限 */
    @Excel(name = "三级异常上限")
    private Double threeexceptionupper;

    /** 三级异常下限 */
    @Excel(name = "三级异常下限")
    private Double threeexceptionlower;

    /** 标准值 */
    @Excel(name = "标准值")
    private Double standardval;

    /** 标准类型 */
    @Excel(name = "标准类型")
    private String standardtype;

    public void setPollutantcode(String pollutantcode) 
    {
        this.pollutantcode = pollutantcode;
    }

    public String getPollutantcode() 
    {
        return pollutantcode;
    }

    public void setOutportcode(String outportcode) 
    {
        this.outportcode = outportcode;
    }

    public String getOutportcode() 
    {
        return outportcode;
    }

    public void setEntcode(String entcode) 
    {
        this.entcode = entcode;
    }

    public String getEntcode() 
    {
        return entcode;
    }

    public void setWarmtype(Integer warmtype) 
    {
        this.warmtype = warmtype;
    }

    public Integer getWarmtype() 
    {
        return warmtype;
    }

    public void setPrewarnupper(Double prewarnupper) 
    {
        this.prewarnupper = prewarnupper;
    }

    public Double getPrewarnupper() 
    {
        return prewarnupper;
    }

    public void setPrewarnlower(Double prewarnlower) 
    {
        this.prewarnlower = prewarnlower;
    }

    public Double getPrewarnlower() 
    {
        return prewarnlower;
    }

    public void setWarnupper(Double warnupper) 
    {
        this.warnupper = warnupper;
    }

    public Double getWarnupper() 
    {
        return warnupper;
    }

    public void setWarnlower(Double warnlower) 
    {
        this.warnlower = warnlower;
    }

    public Double getWarnlower() 
    {
        return warnlower;
    }

    public void setOneexceptionupper(Double oneexceptionupper) 
    {
        this.oneexceptionupper = oneexceptionupper;
    }

    public Double getOneexceptionupper() 
    {
        return oneexceptionupper;
    }

    public void setOneexceptionlower(Double oneexceptionlower) 
    {
        this.oneexceptionlower = oneexceptionlower;
    }

    public Double getOneexceptionlower() 
    {
        return oneexceptionlower;
    }

    public void setTwoexceptionupper(Double twoexceptionupper) 
    {
        this.twoexceptionupper = twoexceptionupper;
    }

    public Double getTwoexceptionupper() 
    {
        return twoexceptionupper;
    }

    public void setTwoexceptionlower(Double twoexceptionlower) 
    {
        this.twoexceptionlower = twoexceptionlower;
    }

    public Double getTwoexceptionlower() 
    {
        return twoexceptionlower;
    }

    public void setThreeexceptionupper(Double threeexceptionupper) 
    {
        this.threeexceptionupper = threeexceptionupper;
    }

    public Double getThreeexceptionupper() 
    {
        return threeexceptionupper;
    }

    public void setThreeexceptionlower(Double threeexceptionlower) 
    {
        this.threeexceptionlower = threeexceptionlower;
    }

    public Double getThreeexceptionlower() 
    {
        return threeexceptionlower;
    }

    public void setStandardval(Double standardval) 
    {
        this.standardval = standardval;
    }

    public Double getStandardval() 
    {
        return standardval;
    }

    public void setStandardtype(String standardtype) 
    {
        this.standardtype = standardtype;
    }

    public String getStandardtype() 
    {
        return standardtype;
    }

    public String getPollutantname() {
        return pollutantname;
    }

    public void setPollutantname(String pollutantname) {
        this.pollutantname = pollutantname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pollutantcode", getPollutantcode())
            .append("outportcode", getOutportcode())
            .append("entcode", getEntcode())
            .append("warmtype", getWarmtype())
            .append("prewarnupper", getPrewarnupper())
            .append("prewarnlower", getPrewarnlower())
            .append("warnupper", getWarnupper())
            .append("warnlower", getWarnlower())
            .append("oneexceptionupper", getOneexceptionupper())
            .append("oneexceptionlower", getOneexceptionlower())
            .append("twoexceptionupper", getTwoexceptionupper())
            .append("twoexceptionlower", getTwoexceptionlower())
            .append("threeexceptionupper", getThreeexceptionupper())
            .append("threeexceptionlower", getThreeexceptionlower())
            .append("standardval", getStandardval())
            .append("standardtype", getStandardtype())
            .toString();
    }
}
